package website.digitalocean.chapter7;

/**
 * @author: longhc@citycloud.com.cn
 * @since: 2023/2/10 10:26
 * @version: 1.0
 */
public class ProxyPatternTest {
    public static void main(String[] args) {
        CommandExecutorProxy lhc = new CommandExecutorProxy("lhc", "123");
        try {
            lhc.runCommand("ls");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
